import { HeatmapECOption } from '../type';

const options: HeatmapECOption = {
  grid: {
    bottom: '20%',
    top: '20%',
  },
  xAxis: {
    type: 'category',
  },
  yAxis: {
    type: 'category',
    // splitArea: {
    //   show: true,
    // },
  },
  visualMap: {
    min: 0,
    max: 9,
    calculable: true,
    orient: 'horizontal',
    left: 'center',
    top: '0%',
    inRange: {
      color: ['#ea6962', '#90ea60', '#6078ea'],
    },
  },
  series: [
    {
      type: 'heatmap',
      label: {
        show: false,
      },
      emphasis: {
        itemStyle: {
          shadowColor: 'rgba(0, 0, 0, 0.5)',
        },
      },
    },
  ],
};
export default options;
